Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 2 - Control Manager Reference / Control Manager Functions
Manipulating Controls /


IsControlActive

NEW WITH THE APPEARANCE MANAGER

Indicates whether a control is active.

pascal Boolean IsControlActive (ControlHandle inControl);
inControl
On input, a handle to the control whose activity you wish to determine.
function result
Returns a Boolean value. If true, the control is active. If false, the control is inactive.
DISCUSSION
If you wish to determine whether a control is active, you should call IsControlActive instead of testing the contrlHilite field of the control structure.

SEE ALSO
"Appearance Manager Gestalt Selector Constants".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998